export interface loginFormData {
  username: string,
  password: string
}

export interface ResponseData {
  code: number,
  message: string,
  ok: boolean
}

// 接口继承
export interface loginResponseData extends ResponseData {
  data: string
}

export interface userInfoResponseData extends ResponseData {
  data: {
    routes: string[], // 路由数组 - 粗粒度
    buttons: string[], // 按钮数组 - 细粒度
    roles: string[], // 角色数组 - 权限标识
    name: string,
    avatar: string
  }
}